package com.yunhe.biz;

import java.util.List;

import com.yunhe.entity.Page;
import com.yunhe.entity.Subject;

/**
 * 投票内容biz层
 * */
public interface ISubjectBiz {
	/**
	 * 条件查询集合
	 * */
	public List<Subject> searchSubjects(Subject subject,Page page);
	/**
	 * 条件查询集合
	 * */
	public List<Subject> searchSubjects();
	public Integer searchSubjectCount();
	/**
	 * 条件查询对象
	 * */
	public Subject searchSubject(Integer id);
	/**
	 * 增加
	 * */
	public void addSubject(Subject subject);
	/**
	 * 删除
	 * */
	public void delSubject(Subject subject);
	/**
	 * 修改
	 * */
	public void updateSubject(Subject subject);
}
